Micron Document
<!DOCTYPE html>
<html class="client-nojs vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-0 vector-toc-not-available vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-0 vector-feature-night-mode-enabled skin-theme-clientpref-os vector-sticky-header-enabled" lang="fr" dir="ltr"><head>
<meta charset="UTF-8">
<title>JavaFX Script</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/png" href="./_res_/favicon.png">
<link rel="canonical" href="https://fr.wikipedia.org/wiki/JavaFX_Script"> <link href="./_mw_/ext.cite.styles.css" rel="stylesheet" type="text/css">
<link href="./_mw_/ext.wikimediamessages.styles.css" rel="stylesheet" type="text/css">
<link href="./_mw_/skins.vector.icons.css" rel="stylesheet" type="text/css">
<link href="./_mw_/skins.vector.search.codex.styles.css" rel="stylesheet" type="text/css">
<link href="./_mw_/skins.vector.styles.css" rel="stylesheet" type="text/css">
<meta name="ResourceLoaderDynamicStyles" content="">
<link rel="stylesheet" type="text/css" href="./_mw_/site.styles.css">
<link rel="stylesheet" type="text/css" href="./_mw_/noscript.css">
<link rel="stylesheet" type="text/css" href="./_res_/footer.css">
<link rel="stylesheet" type="text/css" href="./_res_/vector-2022.css">
</head>
<body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject page-JavaFX_Script rootpage-JavaFX_Script skin-vector-2022 action-view">
<div class="mw-page-container">
<div class="mw-page-container-inner">
<div class="mw-content-container">
<main id="content" class="mw-body">
<header class="mw-body-header vector-page-titlebar">
<h1 id="firstHeading" class="firstHeading mw-first-heading"><span class="mw-page-title-main">JavaFX Script</span></h1>
</header>
<a id="top"></a>
<div id="bodyContent" class="vector-body ve-init-mw-desktopArticleTarget-targetContainer" aria-labelledby="firstHeading" data-mw-ve-target-container="">
<div id="contentSub">
<div id="mw-content-subtitle"></div>
</div>
<div id="mw-content-text" class="mw-body-content mw-content-ltr" lang="fr" dir="ltr"><div class="mw-content-ltr mw-parser-output" lang="fr" dir="ltr"><p class="mw-empty-elt">
</p>
<table class="infobox_v2 infobox infobox--frwiki noarchive">
<tbody><tr>
<td colspan="2" class="entete informatique" style="background-color:#53829e;color:black;"><span style="color: #fff;">JavaFX Script</span><style data-mw-deduplicate="TemplateStyles:r228712691">
/* start https://fr.wikipedia.org/ */


.mw-parser-output .entete.informatique{background-image:url("./_mw_/Picto.nfo.png")}


/* end https://fr.wikipedia.org/ */
</style>
</td></tr>
<tr><td colspan="3" style="text-align:center; line-height: 1.5em;"> </td></tr>
<tr>


<th scope="row">Date de première version
</th>
<td><a href="2008_en_informatique" title="2008 en informatique">2008</a>
</td>
</tr>
<tr>


<th scope="row">Auteur
</th>
<td><a href="Sun_Microsystems" title="Sun Microsystems">Sun Microsystems</a>
</td>
</tr>
<tr>

<th scope="row">Développeur
</th>
<td><a href="Sun_Microsystems" title="Sun Microsystems">Sun Microsystems</a>
</td>
</tr>
<tr>

<th scope="row"><a href="Version_d'un_logiciel" title="Version d'un logiciel">Dernière version</a>
</th>
<td>1.2 (2 juin 2009)
</td>
</tr>
<tr>




<th scope="row">Influencé par
</th>
<td><span class="wd_p737"><a href="Java_(langage)" title="Java (langage)">Java</a></span>
</td>
</tr>
<tr>



<th scope="row"><a href="Syst%C3%A8me_d'exploitation" title="Système d'exploitation">Système d'exploitation</a>
</th>
<td><a href="Logiciel_multiplateforme" title="Logiciel multiplateforme">Multi-plateforme</a>
</td>
</tr>
<tr>

<th scope="row"><a href="Licence_de_logiciel" title="Licence de logiciel">Licence</a>
</th>
<td><span class="wd_p275"><a href="Licence_publique_g%C3%A9n%C3%A9rale_GNU" title="Licence publique générale GNU">Licence publique générale GNU</a></span>
</td>
</tr>
<tr>



</tr>
</tbody></table>
<p><b>JavaFX Script</b> est un <a href="Langage_de_script" title="Langage de script">langage de script</a> <a href="Programmation_d%C3%A9clarative" title="Programmation déclarative">déclaratif</a>, <a href="Typage_statique" title="Typage statique">typé statiquement</a> et <a href="Compilateur" title="Compilateur">compilé</a> pour la <a href="Plate-forme_Java" class="mw-redirect" title="Plate-forme Java">plate-forme Java</a>.
</p><p>Il est destiné aux <a href="Rich_Internet_application" title="Rich Internet application">applications internet riches</a> de même type que celles conçues avec <a href="Adobe_Flex" class="mw-redirect" title="Adobe Flex">Adobe Flex</a>, <a href="Ajax_(informatique)" title="Ajax (informatique)">AJAX</a> et <a href="Microsoft" title="Microsoft">Microsoft</a> <a href="Silverlight" title="Silverlight">Silverlight</a>. Il est intégré dans les <a href="Environnement_de_d%C3%A9veloppement" title="Environnement de développement">environnements de développement intégrés</a> principaux tels que <a href="NetBeans" title="NetBeans">NetBeans</a> et <a href="Eclipse_(projet)" title="Eclipse (projet)">Eclipse</a>. JavaFX Script forme avec <a href="JavaFX_Mobile" title="JavaFX Mobile">JavaFX Mobile</a> la technologie <b><a href="JavaFX" title="JavaFX">JavaFX</a></b>.
</p><p>Ce langage de script, développé par <a href="Sun_Microsystems" title="Sun Microsystems">Sun Microsystems</a>, a été supplanté par le langage <b><a href="FXML" title="FXML">FXML</a></b> lors de la sortie de la version 2.0 de JavaFX.
</p>

<div class="mw-heading mw-heading2"><h2 id="Historique">Historique</h2></div>
<p>JavaFX Script est basé sur le projet <a href="Form_Follows_Function" class="mw-redirect" title="Form Follows Function">F3</a> (Form Follows Function), lancé en <time class="nowrap date-lien" datetime="2006-11" data-sort-value="2006-11"><a href="Novembre_2006" title="Novembre 2006">novembre</a> <a href="2006_en_informatique" title="2006 en informatique">2006</a></time>, dont le but était de créer un langage de script permettant de faciliter le développement d’<a href="Interactions_homme-machine" class="mw-redirect" title="Interactions homme-machine">IHM</a><sup id="cite_ref-1" class="reference"><a href="#cite_note-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup>.
</p><p>En <time class="nowrap date-lien" datetime="2008-05" data-sort-value="2008-05"><a href="Mai_2008" title="Mai 2008">mai</a> <a href="2008_en_informatique" title="2008 en informatique">2008</a></time>, le projet a été rendu public sous le nom de JavaFX lors de la conférence <a href="JavaOne" title="JavaOne">JavaOne</a> 2008.
</p>
<div class="mw-heading mw-heading2"><h2 id="Exemple">Exemple</h2></div>
<p>Ci-dessous, un exemple d'interface graphique affichant uniquement du texte.
</p>
<pre> Frame {
title: "Hello World JavaFX"
width: 200
content: Label {
text: "Hello World"
}
visible: true
}
</pre>
<div class="mw-heading mw-heading2"><h2 id="Notes_et_références"><span id="Notes_et_r.C3.A9f.C3.A9rences"></span>Notes et références</h2></div>
<div class="references-small decimal" style=""><div class="mw-references-wrap"><ol class="references">
<li id="cite_note-1"><span class="mw-cite-backlink"><a href="#cite_ref-1">↑</a> </span><span class="reference-text"><abbr class="abbr indicateur-langue" title="Langue : anglais">(en)</abbr> <a rel="nofollow" class="external text" href="http://blogs.sun.com/chrisoliver/entry/f3">Le blog de Chris Oliver, présentation du projet F3</a></span>
</li>
</ol></div>
</div>
<div class="mw-heading mw-heading2"><h2 id="Annexes">Annexes</h2></div>
<div class="mw-heading mw-heading3"><h3 id="Articles_connexes">Articles connexes</h3></div>
<ul><li><a href="JavaFX" title="JavaFX">JavaFX</a></li>
<li><a href="FXML" title="FXML">FXML</a></li>
<li><a href="Java_(langage)" title="Java (langage)">Java</a></li></ul>
<ul id="bandeau-portail" class="bandeau-portail"><li><span class="bandeau-portail-element"><span class="bandeau-portail-icone"><span class="noviewer" typeof="mw:File"></span></span> <span class="bandeau-portail-texte">Portail de la programmation informatique</span> </span></li> </ul></div><!--htdig_noindex--><div><div class="zim-footer">
Cet article est issu de <a class="external text" title="Dernière modification le 2024-01-06" href="https://fr.wikipedia.org/wiki/?title=JavaFX_Script&amp;oldid=211250503">Wikipédia</a>. Sauf mention contraire, le texte est disponible sous <a class="external text" href="https://creativecommons.org/licenses/by-sa/4.0/deed.fr">Creative Commons Attribution-Share Alike 4.0</a>. Des conditions supplémentaires peuvent s’appliquer aux fichiers multimédias.
</div>
</div><!--/htdig_noindex--></div>
</div>
</main>
</div>
</div>
</div>
<script src="./_webp_/webpHandler.js"></script>

</body></html>